package com.jy.rhin.model.body.zhenduanjilu;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

/**
 * @Author 姚俊
 * @Date 2023/2/8 17:09
 * @Description 诊断
 */
@Data
public class ZhenDuan {

    @XPath(path = "/entry/organizer/component/observation/effectiveTime/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_01_058_00))
    String queZhenSJ;
    @XPath(path = "/entry/organizer/component/observation/code[@code='DE05.01.024.00'][@codeSystem='2.16.156.10011.2.2.1']/../value/@code"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_01_024_00))
    String zhenDuanDM;
    @XPath(path = "/entry/organizer/component/observation/code[@code='DE05.01.025.00'][@codeSystem='2.16.156.10011.2.2.1']/../value/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_01_025_00))
    String zhenDuanMC;
    @XPath(path = "/entry/observation/code[@code='DE05.01.119.00'][@codeSystem='2.16.156.10011.2.2.1']/../value/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_01_119_00,nullable = true))
    String chuanRanXBZ;
    @XPath(path = "/entry/observation/code[@code='DE05.01.072.00'][@codeSystem='2.16.156.10011.2.2.1']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_01_072_00,nullable = true))
    CodeObject jiBingZTDM;
    @XPath(path = "/entry/observation/code[@code='DE05.10.113.00'][@codeSystem='2.16.156.10011.2.2.1']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_10_113_00,nullable = true))
    CodeObject bingQingZGDM;
    @XPath(path = "/entry/observation/code[@code='DE06.00.016.00'][@codeSystem='2.16.156.10011.2.2.1']/../value/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_016_00))
    String chuYuanSJ;
    @XPath(path = "/entry/observation/code[@code='DE05.01.021.00'][@codeSystem='2.16.156.10011.2.2.1']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_01_021_00,nullable = true))
    CodeObject siWangZDDM;
    @XPath(path = "/entry/observation/code[@code='DE02.01.036.00'][@codeSystem='2.16.156.10011.2.2.1']/../value/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_036_00,nullable = true))
    String siWangSJ;
}
